﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;

namespace BattleTech.Models
{
	public abstract class EquipmentDefinition : Granite.Modeling.SimpleModelBase
	{
		[Required()]
		public string Name {
			get { return Get<string>("Name"); }
			protected set { Set(value, "Name"); }
		}
	
		public decimal Weight {
			get { return Get<decimal>("Weight"); }
			protected set { Set(value, "Weight"); }
		}

		public int Size {
			get { return Get<int>("Size"); }
			protected set { Set(value, "Size"); }
		}

		public decimal QuantityIncrement
		{
			get { return Get<decimal>(1, "QuantityIncrement"); }
			set { Set(value, "QuantityIncrement"); }
		}
	}

}









